import type { App } from "vue";
import Progressbar from "@aacassandra/vue3-progressbar";
export default {
    install(app: App) {
        const options = {
            color: "#1890ff", //背景颜色
            thickness: "1px", // 进度条宽度
            transition: {
                speed: "0.3s",
                opacity: "0.6s",
                termination: 500
            },
            autoRevert: true,
            location: "top", // 配置 进度条位置
            inverse: false
        };
        app.use(Progressbar, options);
    }
};
